package springinpractice.ch1.model;

import java.math.BigDecimal;
import java.util.Date;

/*
 * @author	Willie Wheeler, John Wheeler and Zeeshan Maqbool
 * Book		'Spring In Practice' [Book written by Willie Wheeler and John Wheeler]
 */

public class Account {

	private String accountNo;
	private BigDecimal balance;
	private Date lastPaidOn;

	public Account(String accountNo, BigDecimal balance, Date lastPaidOn) {
		this.accountNo = accountNo;
		this.balance = balance;
		this.lastPaidOn = lastPaidOn;
	}

	public String getAccountNo() {
		return accountNo;
	}

	public BigDecimal getBalance() {
		return balance;
	}

	public Date getLastPaidOn() {
		return lastPaidOn;
	}
}
